package com.idanchuang.user.count.service.api.request.command.count;

import com.idanchuang.user.count.service.api.request.command.BaseUpdateCommand;
import com.idanchuang.user.count.service.api.request.command.UserRelated;

import javax.validation.constraints.NotNull;

/**
 * @author Richard_yyf
 * @version 1.0 2021/5/21
 */
public class UserSceneCountUpdateCommand extends BaseUpdateCommand implements UserRelated {



    /**
     * 用户code
     */
    @NotNull
    private Integer userCode;

    /**
     * 计数变更命令
     */
    @NotNull
    private SceneCountIncrement sceneCountIncrement;

    public UserSceneCountUpdateCommand() {
    }

    @Override
    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    public SceneCountIncrement getSceneCountIncrement() {
        return sceneCountIncrement;
    }

    public void setSceneCountIncrement(SceneCountIncrement sceneCountIncrement) {
        this.sceneCountIncrement = sceneCountIncrement;
    }



    @Override
    public String toString() {
        return "UserSceneCountUpdateCommand{" +
                "userCode=" + userCode +
                ", sceneCountIncrement=" + sceneCountIncrement +
                "} " + super.toString();
    }
}
